

#define NOT_REPLACE_USABLE_SIZE
#include "base_malloclib.h"
#include <metalc/mladt/xorcode.h>
#include <metalc/mlos/tsysmalloc.h>


/* 定义allocator */
COMPOSE_MLAYER(dbgmlc, mallocapi, xor_tail, tsysmalloc)

DEF_MTLS_PTHREAD(GET_MLAYER_OBJNR(dbgmlc), QUERY_CPUFREQ, mlcc_palloc, mp_coreid)

/* mlcc和mtls一定要放在第一位初始化 */
DEF_SYSINIT(malloc_perm_pool, dbgmlc, mtls)
DEF_CFLOWFIN(mtls)
DEF_CFLOWINIT(mtls, dbgmlc)
DEF_SYSFIN(__omega)